import { App } from '@/app';
import { AuthController } from '@controllers/auth.controller';
import { UserController } from '@controllers/users.controller';
import { ValidateEnv } from '@utils/validate-env';
import { DictController } from '@controllers/dict.controller';
import { RoleController } from '@controllers/role.controller';
import { DepartmentController } from '@controllers/department.controller';
import { MenuController } from '@controllers/menu.controller';
import { AuditLogController } from '@controllers/log.controller';

ValidateEnv();

const app = new App([AuthController, UserController, DictController, RoleController, DepartmentController, MenuController, AuditLogController]);
app.listen();
